<mat-form-field flex>
  <input
    matInput
    tdAutoTrim
    [(ngModel)]="trim"
    placeholder="This will be autotrimmed"
  />
</mat-form-field>
